<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml"
      xmlns="http://www.w3.org/1999/html">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body>
<style>
    .layui-table-cell {
        display: block;
    }

    .layui-table-tips-c:before {
        position: relative;
        right: 0px;
        top: -4px;
    }

    .myRadios {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 50px;
        width: 100%;
    }

    .layui-icon-radio, .layui-icon-circle {
        display: none !important;
    }
    .layui-table-view{
        height: calc(100% - 150px);
    }
</style>

<div class="layui-fluid mt2">
    <div id="exampleToolbar" style="height: 100px;  align-items: center;display: flex;width: 100%;">
        <div class="demoTable"
             style="width: 100%; height: 100%; display: flex;  flex-direction: column;  justify-content: space-around; align-items: flex-start; padding-left: 10px;">
            <div style="width: 100%;">
                <button class="layui-btn"  shiro:hasPermission="jzweb:jazGroupProdType:add" onclick="add()">新增</button>
                <div class="layui-inline" style="margin:0 10px">
                    分类名称：
                    <div class="layui-inline">
                        <input placeholder="请输入分类名称" class="layui-input" name="name" id="name" autocomplete="off">
                    </div>
                </div>
                <button class="layui-btn" data-type="reload">搜索</button>
            </div>
        </div>
    </div>
    <table class="layui-hide" id="exampleTable" lay-filter="exampleTable"></table>

</div>

<div>
    <script type="text/javascript">
        var look_remove = 'hidden';
        var look_edit = 'hidden';
    </script>
    <script shiro:hasPermission="jzweb:jazGroupProdType:remove" type="text/javascript">
        look_remove = '';
    </script>
    <script shiro:hasPermission="jzweb:jazGroupProdType:edit" type="text/javascript">
        look_edit = '';
    </script>
</div>


<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/webJs/jzweb/jazGroupProdType/index.js"></script>
</body>
</html>